home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
United Public Domain Gold 4
/
United Public Domain Gold 4.iso
/
scope
/
sc066.dms
/
sc066.adf
/
MPri
/
Read.Me
< prev
next >
Wrap
Text File
|
1989-04-08
|
4KB
|
94 lines
MemPri View or alter your system memory priority V 1.0 4/9/89
MemPri is a handy tool for Amiga owners with a mixture of 32 bit and 16
bit memory. MemPri will let you adjust the priority of each of your memory
types thereby allowing you some control over where programs load.
For instance, Amiga owners with 2620 boards and other 16 bit memory will
be able to raise the priority of the 32 bit memory when they wish a program
to reside in 32 bit memory to gain full advantage of the FASTer memory - such
as a ray tracer, then lower the 32 bit memory priority when running mundane
programs
MemPri can also do the function of FastMemFirst by lowering the
priority of the $C00000 ram below that of any other ram in the system.
MemPri can be used from the CLI or the WorkBench. When used from the
CLI the usage is:
MemPri { ? } { PRIORITY } { ADDRESS }
where: PRIORITY is a number between -128 and 127
Higher priority ram gets used first
ADDRESS is the address of the memory hunk to modify
The address should be the LOWER address given in the MemPri
display
Typing MemPri ? displays the usage message.
Typing MemPri without parameters prints the current memory configuration
such as:
Hurricane Ram
FAST Lower: 600000 Upper: 7ffff8 Free: 1494880 Pri: 10
expansion ram
FAST Lower: 200020 Upper: 400000 Free: 0753696 Pri: 5
Chip Memory
CHIP Lower: 000420 Upper: 080000 Free: 0425616 Pri: 0
Fast Memory
FAST Lower: c004e8 Upper: c7e800 Free: 0466056 Pri: -10
Total bytes free: 3140248
Typing MemPri with a priority but without an address number defaults to
$200000
For Example, typing:
MemPri -10 C00000
will set the priority of the Half FAST memory located at $C00000 to -10
(just what FastMemFirst does).
WORKBENCH USERS
Two icons are supplied for WorkBench users. These are entitled
32BitHi.info and 32BitLo.info
These icons call up MemPri which then reads the TOOL TYPE fields in the
icons looking for the strings ADDRESS_x and PRIORITY_x where `x' is a
number from 1 to 9. This allows you to alter the priorities of upto 9
memory address banks with one click.
Simply change the existing TOOL TYPE ADDRESS_x entries to the lower address
of your system memory banks, then edit the associated PRIORITY_x to the
priority desired for that address bank.
Using the above memory priority display output I would enter the following
into my 32BitLo TOOL TYPE fields to lower the priority of the Hurricane Ram
(at $600000) below the 16bit expansion ram (at $200000), and above the
$C00000 ram.
ADDRESS_1=600000 PRIORITY_1=0
ADDRESS_2=200000 PRIORITY_2=5
ADDRESS_3=C00000 PRIORITY_3=-10
ADDRESS_4=000000 PRIORITY_4=0
To give my 32 bit memory highest priority I would setup the 32BitHi fields
as follows:
ADDRESS_1=600000 PRIORITY_1=10
ADDRESS_2=200000 PRIORITY_2=5
ADDRESS_3=C00000 PRIORITY_3=-10
ADDRESS_4=000000 PRIORITY_4=0
It's not necessary to change all memory address priorities at the same
time as shown above. I only did this as an example. You only need specify
the ADDRESS and PRIORITY fields of the bank you adjust the most.
Try watching ASDGs SysMon program while adjusting the memory priorities.
SysMon will reshuffle it's memory bargraphs to reflect the current memory
priority arrangement.